package scenic.toolkit.event;

import scenic.geom.Double2;
import scenic.toolkit.ComponentView;

public class MouseEvent extends InputEvent {
	private static final long serialVersionUID = 1L;

	private Double2 position;
	private int state;
	private int button;
	
	public MouseEvent(ComponentView source, Double2 position,
			int state, int button) {
		super(source);
		this.position = position;
		this.state = state;
		this.button = button;
	}

	public Double2 getPosition() {
		return position;
	}

	public int getState() {
		return state;
	}
	
	public int getButton() {
		return button;
	}
}
